package com.dao;

import com.model.Employee;
import com.model.EmployeeView;

import java.util.List;

public interface EmployeeDao {
    /**
     * 添加员工
     * @param employee
     */
    public void addEmplyee(Employee employee);

    /**
     * 根据员工姓名修改员工工资
     * @param empName
     * @param salary
     */
    public void updateEmplyeeSalary(String empName, Float salary);

    /**
     * 查询所有员工信息
     * @return
     */
    public List<EmployeeView> queryEmployee();


    public List<EmployeeView> queryEmployeeOrder();
}
